package com.kitty.listener.event;

import com.kitty.game.role.model.Role;
import com.kitty.listener.BasePlayerEvent;
import com.kitty.listener.EventType;
import lombok.Getter;

/**领取事件*/
@Getter
public class FetchEvent extends BasePlayerEvent {
    /**领取类型，领取宠物*/
    public static final byte FETCH_PET = 1;

    private Role role;
    /**领取类型*/
    private byte fetchType;

    public FetchEvent(EventType evtType, Role role, byte fetchType) {
        super(evtType, role);
        this.role = role;
        this.fetchType = fetchType;
    }
}
